import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import QRCode from 'qrcode'
import VueI18n from 'vue-i18n' // 引入vue-i18n
import i18n from './language/index.js' // 引入lang.js
import './plugins/vant'
import MyClose from '@/views/close/index.vue'// 关单
import MyExpired from '@/views/overtime/index.vue'// 超时
import MySucced from '@/views/succed/index.vue'// 成功
import MyLose from '@/views/lose/index.vue'// 失败
Vue.component('MyClose', MyClose)
Vue.component('MyExpired', MyExpired)
Vue.component('MySucced', MySucced)
Vue.component('MyLose', MyLose)
Vue.use(QRCode)
Vue.use(VueI18n)// 使用

Vue.config.productionTip = false

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
